package controllers

import (
	beego "github.com/beego/beego/v2/server/web"
)

type TrollyController struct {
	beego.Controller
}

func (c *TrollyController) Get() {
	username := c.GetSession("username")
	if username == nil {
		c.Redirect("/", 302)
	}
	c.TplName = "trolly.tpl"
}
